Skip to content

Add visual life indicators using Pac-Man iconsAdd life indicators - #45

Open
ksaini-web wants to merge 2 commits into
dishu4u:mainfrom
ksaini-web:add-life-indicators
Open

Add visual life indicators using Pac-Man iconsAdd life indicators#45
ksaini-web wants to merge 2 commits into
dishu4u:mainfrom
ksaini-web:add-life-indicators

Conversation

@ksaini-web

Copy link
Copy Markdown

Summary

Added visual life indicators using Pac-Man icons to provide a clear visual representation of the player's remaining lives.

Changes Made

  • Reused the existing Pac-Man sprite as a life indicator.
  • Displayed one Pac-Man icon for each remaining life.
  • Positioned the life indicators at the bottom of the game window.
  • Updated the indicators dynamically whenever a life is lost.
  • Preserved all existing gameplay mechanics.

Testing

  • Verified that 3 lives display 3 icons.
  • Verified that icons decrease correctly when lives are lost.
  • Verified that Game Over behavior remains unchanged.
  • Confirmed that gameplay and scoring continue to work as expected.

Fixes #33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add visual life indicators using Pac-Man icons

1 participant